﻿

using BDAlertorApp.Model;


namespace BDAlertorApp.Service
{
    /// <summary>
    /// 北斗协议数据通知
    /// </summary>
    /// <param name="bdCmdData"></param>
    public delegate void OnPacketNotifyEventHandler(BdPacketData bdCmdData);

    /// <summary>
    /// 北斗协议数据通知
    /// </summary>
    /// <param name="buffer"></param>
    public delegate void OnDlEventHandler(byte[] buffer);

    /// <summary>
    /// 连接状态通知
    /// </summary>
    /// <param name="connectionStatus"></param>
    public delegate void OnConnectionStatusNotifyEventHandler(ConnectionStatus connectionStatus);

    /// <summary>
    /// 串口数据通知
    /// </summary>
    /// <param name="bytes"></param>
    public delegate void OnPortDataNotifyEventHandler(string data);

    class CommEventHandler
    {
    }
}
